<template>
  <div class="loading">
    <img src="../assets/loading.gif" />
    {{ message }}
  </div>
</template>

<script>
export default {
  props: {
    loading: Boolean,
    message: String,
  },
};
</script>

<style lang="scss" scoped>
.loading {
  display: flex;
  font-size: 26rpx;
  align-items: center;
  img {
    display: block;
    margin-right: 6px;
    width: 18px;
    height: 18px;
  }
}
</style>